#ifndef CRCCONFIG_H
#define CRCCONFIG_H

#include <QDialog>
#include <QList>

#include "ui_crcconfigdlg.h"
#include "crc_info.h"


class CrcConfigDlg : public QDialog
{
	Q_OBJECT

public:
	CrcConfigDlg(CRC_CONTAINER & crc_infos, QWidget *parent = 0);
	~CrcConfigDlg();

private slots:
	void on_actionAddCRC_triggered();
	void on_actionRemoveCRC_triggered();
	void on_listWidgetCRCs_currentItemChanged(QListWidgetItem * current, QListWidgetItem * previous);

private:
	Ui::dialogCrcConfig ui;
	CRC_CONTAINER & _crc_infos;
};

#endif // CRCCONFIG_H
